package cn.thornbird.orgsync.model.dingtalk;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UserId extends Response {

    @JsonProperty("result")
    private Result result;


    @Data
    public static class Result {

        @JsonProperty("userid")
        private String userId;

        @JsonProperty("unionId")
        private String unionId;

    }

}
